home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _57796B76DC48474E93E6E3B21718DBF2 < prev    next >
Encoding:
Text File  |  2006-08-04  |  2.7 KB  |  78 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Jasc Software, Inc.',
  6.         'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': '', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': '', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 200, 
  32.             'PaperSize': 1, 
  33.             'DriverExtra': """"""
  34.             }, 
  35.         'MIPCmdFile': '', 
  36.         'TemplateMetric': App.Constants.Boolean.false, 
  37.         'PageDimensions': (8.5,11), 
  38.         'TemplateCategory': 'Combinaisons', 
  39.         'TemplateDescription': 'Combinaison de (2) 3,5" x 5" et (2) 2,5" x 3,5"', 
  40.         'Template': [{
  41.             'CellPosition': (0.453893,0.281821), 
  42.             'CellSize': (5,3.5), 
  43.             'ImagePlacement': 0, 
  44.             'ImagePath': '', 
  45.             'RotationAngle': 0, 
  46.             'ImagePosition': (0,0), 
  47.             'ImageSize': (0,0)
  48.             },{
  49.             'CellPosition': (0.453893,3.98856), 
  50.             'CellSize': (5,3.5), 
  51.             'ImagePlacement': 0, 
  52.             'ImagePath': '', 
  53.             'RotationAngle': 0, 
  54.             'ImagePosition': (0,0), 
  55.             'ImageSize': (0,0)
  56.             },{
  57.             'CellPosition': (0.452527,7.78205), 
  58.             'CellSize': (3.5,2.5), 
  59.             'ImagePlacement': 0, 
  60.             'ImagePath': '', 
  61.             'RotationAngle': 0, 
  62.             'ImagePosition': (0,0), 
  63.             'ImageSize': (0,0)
  64.             },{
  65.             'CellPosition': (4.35963,7.78205), 
  66.             'CellSize': (3.5,2.5), 
  67.             'ImagePlacement': 0, 
  68.             'ImagePath': '', 
  69.             'RotationAngle': 0, 
  70.             'ImagePosition': (0,0), 
  71.             'ImageSize': (0,0)
  72.             }]
  73.         }
  74.  
  75. def Do(Environment):
  76.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  77.  
  78.